package com.demo.sa.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (SysMenu)实体类
 *
 * @author makejava
 * @since 2024-11-19 16:10:58
 */
public class SysMenu implements Serializable {
    private static final long serialVersionUID = 690398033636146719L;
/**
     * id
     */
    private Long id;
/**
     * 上级ID，一级菜单为0
     */
    private Long pid;
/**
     * 名称
     */
    private String name;
/**
     * 菜单URL
     */
    private String url;
/**
     * 授权(多个用逗号分隔，如：sys:user:list,sys:user:save)
     */
    private String permissions;
/**
     * 类型   0：菜单   1：按钮
     */
    private Integer menuType;
/**
     * 菜单图标
     */
    private String icon;
/**
     * 排序
     */
    private Integer sort;
/**
     * 创建者
     */
    private Long creator;
/**
     * 创建时间
     */
    private Date createDate;
/**
     * 更新者
     */
    private Long updater;
/**
     * 更新时间
     */
    private Date updateDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    public Integer getMenuType() {
        return menuType;
    }

    public void setMenuType(Integer menuType) {
        this.menuType = menuType;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getUpdater() {
        return updater;
    }

    public void setUpdater(Long updater) {
        this.updater = updater;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

}

